using UnityEngine;
using QFramework;

namespace ProjectMyFarmAndShe
{
	public partial class EmailDetailPanel : ViewController
	{
		void Start()
		{
			// Code Here
			
			CloseBtn.onClick.AddListener(() =>
			{
				this.Hide();
			});
		}

		public void UpdateDetail(EmailData data)
		{
			PublisherText.text = data.Publisher;
			InfoText.text = data.Info;
		}
	}
}
